home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Business Assistant
/
Business Assistant.iso
/
acctg
/
bookkeep
/
lesson3
< prev
next >
Wrap
Text File
|
1986-05-02
|
6KB
|
144 lines
SEE LESSON 3 Screen 1
This file is marked Read-only so that SEE cannot alter the contents of the disk
file. You can always start over and the file will be just like it is now.
This lesson covers block commands. Repeatedly throughout the lesson you will be
instructed to "click". If you have a mouse, this means click the mouse's left
button. When you click, nothing happens until you release the button. If you
do not have a mouse, this means hold down the CTRL key and hit Q. Ctrl-Q and
the left mouse button are equivalent.
Move the cursor so that it is just past the 1. (over the "^") and click (click
the left mouse button or Ctrl-Q). Now, move the cursor so that it's on the "L",
but don't click. Hit the delete key. This is how SEE's block commands work.
1. Leave work.
^
Without moving the cursor, click again. Move the cursor to the "." in "work.".
Hit Open (F1). This puts things back to the way they were.
Open, Close, Get, Cut, and Delete all understand this type of argument and do
exactly what you'd expect.
SEE LESSON 3 Screen 2
Move the cursor so that it's one past the "1.". Click. Now, move the cursor
the cursor so that it's over the "G" in "Go home". Hit Close (Ctrl-F1). Notice
that Close deleted all the stuff inside the indicated rectangle. Blocks are
specified in SEE by 'drawing' the block's diagonal.
1. Leave work.
2. Stop to buy milk.
3. Go home and play Trivial Pursuit.
Without moving the cursor (it should be over the "L"), click, and then move the
cursor so that it's on the "d" in "and play". Hit Open (F1). Again, this puts
things back to where they were.
Open, Close, Get, Cut, and Delete all understand this type of argument and do
exactly what you would expect.
Without moving the cursor, click. Move the cursor so that it's on the "G"
again, and hit Cut (Ctrl-F3). Again, this removes the spaces. Hit Put (F4).
This restores things back to the way they started. Put knows it has a rectangle
of stuff in it's buffer.
SEE LESSON 3 Screen 3
Move the cursor to the "1" below and click. Move the cursor straight down to
the "3" and hit Cut (Ctrl-F3). If the rectangle has no width, SEE assumes you
mean "all these lines".
1. Leave work.
2. Stop to buy milk.
3. Go home and play Trivial Pursuit.
Hit Put (F4) to restore things. Put knows it has lines this time instead of a
block. You can do exactly the same thing by using Close (Ctrl-F1) and Restore
(Ctrl-R). Follow the above directions again using these commands.
Had you hit Delete instead of Cut, the same three lines would have been removed,
except there would be no way to restore them.
Hit Home so that the cursor is at the beginning of the "1." line and click.
Notice the "@" displayed on the status line; this tells you the file is
currently marked. Move the cursor straight down two lines, and hit Cut. As you
see, the result does not depend on where the zero-width rectangle is specified.
Hit Put now to restore the lines again.
SEE LESSON 3 Screen 4
Next, we'll cover SEE's replace function. Hit Home twice to get the cursor to
the upper left corner of the screen, and hit ESC to get the "Enter: " prompt,
and type "apropos" (without the quotes). Now hit Return (labeled ENTER on some
keyboards). Notice that SEE responds with a diamond. Type "Appropriate"
(again, no quotes). Now hit Search (F10). This is the SEE replace function.
Hit Search (F10) again; SEE finds and changes this "apropos". Just as Search
remembers the last search string, Search remembers when the last thing it did
was a replace.
Hit Home twice to return to the top of the page. Hit ESC, and type
"appropriate". Hit Return, and type "natural". Now, hold the CTRL key down and
hit Search (F10). This is SEE's global search/replace function. Ctrl-Search
keeps going until it can't find the search string in the file again.
SEE LESSON 3 Screen 5
Finally, we'll cover the functions Break and Join. Move the cursor to the "n"
in "needs" below, and hit Break (F7). Break breaks a line in two.
This is a line which needs splitting into two parts.
Now hit Join (Ctrl-F7). Join joins pairs of lines together. Leave the cursor
on the "n" and click. Move the cursor to the "c" in "came" below, and hit Join.
came from two seperate places.
Join deletes everything between the click and the activation position. Text
removed with Join, like text removed with Delete, cannot be restored.
Move the cursor to this "X", and hit End Line (Ctrl-E or ALT-F7).
End Line deletes everything to the right of the cursor on the current line.
text removed with End Line, like text removed with Join or Delete, cannot be
restored.
SEE LESSON 3 Screen 6
Probably by now you've tried hitting Help (Ctrl-F6). This displays a screen of
information to remind you what commands are available. If you wish, you may
customize this display by changing the file SEE.HLP, but this is not
recommended.
Summary of the commands covered in this lesson:
Block arguments to Open, Close, Delete, Get, Cut and Join.
ESC "SearchText" return "ReplaceText" F10 - Replace
ESC "SearchText" return "ReplaceText" Ctrl-F10 - Global Replace
ESC "SearchText" return "ReplaceText" Alt-F10 - Query Replace
Break (F7) - Break a line into two lines.
Join (Crtl-F7) - Delete everything between two characters. between them.
End Line (Alt-F7) - Delete to end of line.
Help (Ctrl-F6) - Display the file SEE.HLP
End of Lesson 3